package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 案例信息对象 news_cases
 * 
 * @author shan
 * @date 2025-02-28
 */
public class NewsCases extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 案例名称 */
    @Excel(name = "案例名称")
    private String caseName;

    /** 案例类别 */
    @Excel(name = "案例类别")
    private String caseCategory;

    /** 时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间")
    private String caseTime;

    /** 所属学校 */
    @Excel(name = "所属学校")
    private String school;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keywords;

    /** 人物 */
    @Excel(name = "人物")
    private String persons;

    /** 概述 */
    @Excel(name = "概述")
    private String overview;

    /** 预警分级 */
    @Excel(name = "预警分级")
    private String warningLevel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseName(String caseName) 
    {
        this.caseName = caseName;
    }

    public String getCaseName() 
    {
        return caseName;
    }
    public void setCaseCategory(String caseCategory) 
    {
        this.caseCategory = caseCategory;
    }

    public String getCaseCategory() 
    {
        return caseCategory;
    }
    public void setCaseTime(String caseTime)
    {
        this.caseTime = caseTime;
    }

    public String getCaseTime()
    {
        return caseTime;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setPersons(String persons) 
    {
        this.persons = persons;
    }

    public String getPersons() 
    {
        return persons;
    }
    public void setOverview(String overview) 
    {
        this.overview = overview;
    }

    public String getOverview() 
    {
        return overview;
    }
    public void setWarningLevel(String warningLevel) 
    {
        this.warningLevel = warningLevel;
    }

    public String getWarningLevel() 
    {
        return warningLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseName", getCaseName())
            .append("caseCategory", getCaseCategory())
            .append("caseTime", getCaseTime())
            .append("school", getSchool())
            .append("keywords", getKeywords())
            .append("persons", getPersons())
            .append("overview", getOverview())
            .append("warningLevel", getWarningLevel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
